|
2020-2021 Sunseeker Telemetry and Lighting System
|
#include "driverlib.h"Go to the source code of this file.
Functions | |
| void | main (void) |
| void | EUSCI_A0_ISR (void) |
Variables | |
| uint16_t | i |
| uint8_t | RXData = 0 |
| uint8_t | TXData = 0 |
| uint8_t | check = 0 |
| void EUSCI_A0_ISR | ( | void | ) |
Definition at line 134 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| void main | ( | void | ) |
Definition at line 68 of file eusci_a_uart_ex1_loopbackAdvanced.c.
References check, param, STATUS_FAIL, and TXData.
| uint8_t check = 0 |
Definition at line 66 of file eusci_a_uart_ex1_loopbackAdvanced.c.
Referenced by EUSCI_A0_ISR(), main(), and USCI_A0_ISR().
| uint16_t i |
EUSCI_A0 External Loopback test using EUSCI_A_UART_init API
Description: This demo connects TX to RX of the MSP430 UART The example code shows proper initialization of registers and interrupts to receive and transmit data.
ACLK = BRCLK = 32.768kHz, MCLK = SMCLK = DCO/8 = ~1MHz
Tested on MSP430F67791A
-----------------
RST -| P3.0/UCA0RXD|----|
| | |
| | |
| P3.1/UCA0TXD|----|
| |
This example uses the following peripherals and I/O signals. You must review these and change as needed for your own board:
This example uses the following interrupt handlers. To use this example in your own application you must add these interrupt handlers to your vector table.
Definition at line 64 of file eusci_a_uart_ex1_loopbackAdvanced.c.
| uint8_t RXData = 0 |
Definition at line 65 of file eusci_a_uart_ex1_loopbackAdvanced.c.
Referenced by EUSCI_A0_ISR(), and USCI_A0_ISR().
| uint8_t TXData = 0 |
Definition at line 65 of file eusci_a_uart_ex1_loopbackAdvanced.c.
Referenced by EUSCI_A0_ISR(), main(), and USCI_A0_ISR().